outpath=build/app
tsc -b
echo remove old
rm -rf ${outpath}
echo build new and copy files
mkdir -p ${outpath}
cp -rf dist ${outpath}/

echo done

